﻿using Microsoft.IdentityModel.Tokens;
using System.Text;

namespace WebAppIdentity
{
	public class JwtSettings
	{
		public required string SecurityKey { get; set; }
		public TimeSpan ExpiresIn { get; set; }
		public SymmetricSecurityKey SymmetricSecurityKey => new SymmetricSecurityKey(Encoding.UTF8.GetBytes(SecurityKey));

	}
}
